package dept

import (
	"context"
	"ruoyi-vue-pro-go/internal/service"

	"ruoyi-vue-pro-go/api/dept/v1"
)

func (c *ControllerV1) Update(ctx context.Context, req *v1.UpdateReq) (res *v1.UpdateRes, err error) {
	return service.Dept().Update(ctx, req)
}
